package vcp.client.forms;

import vcp.enums.FormType;
import vcp.enums.SiteEnum;

/**
 * 
 * @author VCP team
 *         <p>
 *         Responsible for Parking site cost update
 *         </p>
 */
public class SiteCostUpdateFrom extends FormAbstract
{
	/**
	 * 
	 */
	private static final long serialVersionUID = - 566733171461719843L;

	/** price of single use **/
	private final float singleUsePricePerHour;

	public float getSingleUsePricePerHour ()
	{
		return this.singleUsePricePerHour;
	}

	/** price of order ahead **/
	private final float orderAheadPricePerHour;

	public float getOrderAheadPricePerHour ()
	{
		return this.orderAheadPricePerHour;
	}

	/** price of casual subscription **/
	private final float casualPriceSingleCar;

	public float getCasualPriceSingleCar ()
	{
		return this.casualPriceSingleCar;
	}

	/** price of full subscription **/
	private final float fullPriceSingleCar;

	public float getFullPriceSingleCar ()
	{
		return this.fullPriceSingleCar;
	}

	/** site number **/
	private final SiteEnum requestedSite;

	public SiteEnum getRequestedSite ()
	{
		return this.requestedSite;
	}

	/**
	 * <p>
	 * update costs for site by it number
	 * </p>
	 * 
	 * @param singleUsePricePerHour
	 * @param orderAheadPricePerHour
	 * @param casualPriceSingleCar
	 * @param fullPriceSingleCar
	 * @param requestedSite
	 */
	public SiteCostUpdateFrom ( float singleUsePricePerHour, float orderAheadPricePerHour, float casualPriceSingleCar, float fullPriceSingleCar, SiteEnum requestedSite )
	{
		super(FormType.SITE_COSTS_UPDATE);
		this.singleUsePricePerHour = singleUsePricePerHour;
		this.orderAheadPricePerHour = orderAheadPricePerHour;
		this.casualPriceSingleCar = casualPriceSingleCar;
		this.fullPriceSingleCar = fullPriceSingleCar;
		this.requestedSite = requestedSite;
	}

}
